package com.scwatch.core.service;


import com.scwatch.common.orm.RowSide;
import com.scwatch.core.domain.LiveBroadcastRoom;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.List;
import java.util.Map;

public interface LiveBroadcastRoomService {
    public Page<LiveBroadcastRoom> findAll(Map<String, String[]> params,Pageable pageable);

    public RowSide<LiveBroadcastRoom> findSide(Map<String, String[]> params,LiveBroadcastRoom bean, Integer position, Sort sort);

    public List<LiveBroadcastRoom> getList();

    public LiveBroadcastRoom get(Integer id);

    public String replace(String s);

    public LiveBroadcastRoom save(LiveBroadcastRoom bean);

    public LiveBroadcastRoom update(LiveBroadcastRoom bean);

    public LiveBroadcastRoom delete(Integer id);

    public LiveBroadcastRoom[] delete(Integer[] ids);

    public List<LiveBroadcastRoom> getRoomListByParam(Integer liveId);
}
